﻿using MingYuanYun.Data.Abstractions;
using System.Data;

namespace ControlCenter.Data
{
    internal static class UnitOfWorkExtensions
    {
        public static IDbConnection GetControlCenterConnection(this IUnitOfWork unitOfWork)
        {
            return unitOfWork.GetConnection("ControlCenter");
        } 
    }
}
